package com.oo.viewlib

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.oo.simpleimage.SimpleImageView

class SampleActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_sample)


        findViewById<SimpleImageView>(R.id.siv).setImageRes(R.mipmap.ic_launcher)


//        findViewById<Button>(R.id.radar_fragment).setOnClickListener {
//            val intent = Intent(this@SampleActivity, BlankActivity::class.java);
//            intent.putExtra("page", 1)
//            startActivity(intent)
//        }
//        findViewById<Button>(R.id.pie_fragment).setOnClickListener {
//            val intent = Intent(this@SampleActivity, BlankActivity::class.java);
//            intent.putExtra("page", 2)
//            startActivity(intent)
//        }

    }
}
